﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true"
    CodeBehind="Product.aspx.cs" Inherits="eCommerce.Site.Product" %>

<%@ Register Src="Controls/LeftMenu.ascx" TagName="LeftMenu" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div class="leftmenu">
        <uc1:LeftMenu ID="LeftMenu" runat="server" />
    </div>
    <div class="product">
      <asp:Panel ID="pnlCategory" Visible="false" runat="server">
          <%--<asp:Literal ID="litCategory" runat="server"></asp:Literal>--%>
          <asp:Repeater ID="repeaterCategory" runat="server">
          <ItemTemplate>
            <a href='product.aspx?i=<%# Eval("ProductID") %>'>
          <div class="category"><img src='product/<%# Eval("ProductImage") %>' alt='<%# Eval("ProductName") %>' />
          <span class="categoryitem"><%# Eval("ProductName") %></span></div>
          </a>
          </ItemTemplate>
          </asp:Repeater>
      </asp:Panel>
      <asp:Panel ID="pnlProduct" Visible="false" runat="server">
        <asp:Literal ID="litProduct" runat="server"></asp:Literal>        
        <div class="proddesc">
            <asp:Literal ID="litProductDesc" runat="server"></asp:Literal>
            <h4>QTY:</h4>
            <asp:DropDownList ID="ddlQTY" runat="server">
                <asp:ListItem Value="0" Text="0"></asp:ListItem>
                <asp:ListItem Value="1" Text="1"></asp:ListItem>
                <asp:ListItem Value="2" Text="2"></asp:ListItem>
                <asp:ListItem Value="3" Text="3"></asp:ListItem>
                <asp:ListItem Value="4" Text="4"></asp:ListItem>
                <asp:ListItem Value="5" Text="5"></asp:ListItem>
            </asp:DropDownList>
            <asp:LinkButton ID="imglnkbtnSearch" CssClass="btnClickBR" ToolTip="Add to Basket"
                runat="server" OnClick="imgbuttonAdd_Click">Add to Basket</asp:LinkButton></div>
       </asp:Panel>
    </div>
</asp:Content>
